﻿<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
	<title>Upload an image</title>
    <script type="text/javascript" src="js/dialog-v4.js"></script>
          <script src="../../../../../Scripts/jquery-1.9.1.js"></script>
         <script src="../../../../../Scripts/jquery.form.js"></script>

	<link href="css/dialog-v4.css" rel="stylesheet" type="text/css">
</head>
<body>

	 <form method="post" id="UpLoadForm" enctype="multipart/form-data" action="/NormalUploader/Upload">
            <input type="file" id="flUpload"  name="ff"/> 
            <input type="submit" id="btnUpload"  value="upload"/>
        </form>
</body>
</html>




<script>
    $(document).ready(function () {
        $('#UpLoadForm').ajaxForm(function (result) {
            jbImagesDialog.uploadFinish(result.url);
        });
    });


    

</script>
